                <div id="block">
                	<div class="header-brown">
                    	<div class="icon"></div>
                        <div class="title">TOP PRODUCTS</div>
                        <div class="clr"></div>
                     </div>
                     <div class="block-content">
                     	<div class="top-book">
                            <?php
                                foreach ($rows as $key => $val) {
                                    $linkImg = FILES_URL . '/books/small/' . $val['picture'];
                                    $picture = '<img src="' . $linkImg . '" />';
                                    $filter = new Zend_Filter();
                                    $multiFilter = $filter->addFilter(new Zend_Filter_StringToLower(), array('encoding'=>'UTF-8'))
							  ->addFilter(new Zend_Filter_Alnum(true))
							  ->addFilter(new Zend_Filter_PregReplace(array('match'=>'#\s+#', 'replace'=>'-')))
							  ->addFilter(new Zend_Filter_Word_SeparatorToDash())
							  ->addFilter(new Zendvn_Filter_RemoveCircumflex());
                                    $urlOptions = array('module'=>'shopping', 'controller'=>'index', 'action'=>'detail', 
                                                        'cid'=>$val['cat_id'], 'tcat'=>$multiFilter->filter($val['category_name']),
                                                        'id'=>$val['id'], 'title'=>$multiFilter->filter($val['name']));
                                    $linkDetail = $view->url($urlOptions, 'shop-detail');
//                                    $linkDetail = $view->baseUrl('/shopping/index/detail/cid/' . $val['cat_id'] .'/tcat/' . $filter->filter($val['category_name']) . '/id/'. $val['id'] .'/title/' . $filter->filter($val['name']));
                            ?>
                            <div class="item-right">
                                <a href="<?php echo $linkDetail;?>">
                           	<?php echo $picture;?>
                                </a>
                            </div>
                            <?php }?>
                        </div>
                     </div>
                </div>